package com.ibangnuo.manage.dao.terminal;

import com.ibangnuo.framework.domain.Terminal;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @Author:ly
 * @Data:2020/1/2 18:03
 * @Verdion:1.0
 */
public interface TerminalRepository extends JpaRepository<Terminal,String> {
    Terminal findBySn(String sn);

    List <Terminal> findByShopId(String shopId);

}
